﻿/**********************************************************************
*创建人：蔡水明
*创建时间：2018/3/18 16:29:03
*说明：<Function>
/**********************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Utilities
{
    public static class MedicaHelper
    {
        /// <summary>
        /// 播放Wav文件
        /// </summary>
        /// <param name="WavFile"></param>
        public static void WavPlay(string WavFile)
        {            
            System.Media.SoundPlayer player = new System.Media.SoundPlayer(WavFile);
            player.Play();//.PlaySync();//另起线程播放
        }
        
    }
}
